package com.pyrsana.faith.retreat

import com.pyrsana.faith.membership.Profile

class Workshop {
    
    static belongsTo = [retreat:Retreat]
    static hasMany = [assignments:WorkshopAssignment, facilitators:Profile]
    
    String title
    String description

    static constraints = {
        title (size:1..50, blank:false)
        description (size:0..2550, blank:true)
    }
}
